//
//  WPChangePhoneViewModel.m
//  ZhongChouPingTai
//
//  Created by WeiPan on 16/4/15.
//  Copyright © 2016年 WPJoe. All rights reserved.
//

#import "WPChangePhoneViewModel.h"

@implementation WPChangePhoneViewModel
+ (void)testBfPhoneWithCode:(NSString *)code andWithSuccessBolock:(void (^)(NSString *))success andWithFailureBolock:(void (^)(NSString *))failure {
    NSDictionary * params = @{@"code":code};
    [NetWorkingManager postWithUrl:@"" requestParams:[NetWorkingManager paramsByAppendingUserInfo:params] SuccessHandler:^(id responseObject) {
        
    } failureHandler:^(NSError *error) {
        
    }];
}
+ (void)changePhoneWithPhone:(NSString *)phone andWithCode:(NSString *)code andWithSuccessBlock:(void (^)(NSString *))success andWithFailureBlock:(void (^)(NSString *))failure {
    NSDictionary * params = @{@"phone":phone,
                              @"code":code};
    [NetWorkingManager postWithUrl:@"" requestParams:[NetWorkingManager paramsByAppendingUserInfo:params] SuccessHandler:^(id responseObject) {
        
    } failureHandler:^(NSError *error) {
        
    }];
}
@end
